<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <link rel="stylesheet" href="${ctx}/statics/css/update.css">
    <link rel="stylesheet" href="${ctx}/statics/css/common.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.css">
    <script src="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.js"></script>
    <%--<link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/skins/laydate.css">--%>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/laydate.css">
    <script src="${ctx}/libjs/plugins/laydate/laydate.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.css">
    <script src="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.js"></script>
    <%-------------------------------------------------------------------------%>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/css/H-ui.admin.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/style.css">
    <script type="text/javascript" src="${ctx}/appjs/operatorAccount/index.js"></script>
    <script type="text/javascript" src="${ctx}/appjs/order/orderInfo/orderInfo.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>财务管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>加盟商结算详情</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });
    var has_edit = '';
</script>
<style>
    .fixed-table-container {
        height: 584px !important;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">结算详情</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content" style="height: 1100px;">
                    <form class="form-horizontal m-t" id="frmOperatorAccount">
                        <div class="form-group row">
                            <h2 class="font-bold col-sm-3 text-right">加盟商信息</h2>
                        </div>
                        <input id="brandId" name="brandId" value="${operatorAccount.operatorAccountId}"
                               type="hidden">
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">加盟商ID：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" disabled value="${operatorAccount.operatorId}">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">加盟商名称：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" disabled value="${operatorAccount.operatorName}">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">负责人：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" disabled value="${operatorAccount.nickname}">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">联系电话：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" disabled value="${operatorAccount.mobile}">
                            </div>
                        </div>
                        <div class="form-group row">
                            <h2 class="font-bold col-sm-3 text-right">订单信息</h2>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">本月结算金额：</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" disabled value="${operatorAccount.amount}">
                            </div>
                        </div>
                    </form>
                    <div class="table-responsive" style="z-index: 1;">
                        <table id="orderInfoTable" style="word-break:break-all;" data-mobile-responsive="true">
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    operatorAccount.loadOrderInfoData("${operatorAccount.operatorId}","${startTime}","${endTime}");
</script>
</body>
</html>

